class A {
  public int getNumber(int a) {
		return a+1;
  }
}
	class B extends A {
		public int getNumber(int a){
			return a+100;
  }
} 
public class xiti5_5{
public static void main(String args[]){
		A a=new A();
		System.out.println(a.getNumber(5));
		a=new B();
		System.out.println(a.getNumber(5));
	}
}
